package com.itzhoun.model;

import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

/**
 * @author 周楠
 * @Date 2022/10/28/下午 7:44
 */
public class BaseEvent<T> extends ApplicationEvent {

    public BaseEvent(T source) {
        super(source);
    }

    @Override
    public T getSource() {
        return (T) super.getSource();
    }
}
